package com.hh.hot100;

/**
 * @Author hanghao
 * @Date 2023/7/3 11:03
 * @Version 1.0
 */

public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;

    public TreeNode() {
    }
    public TreeNode(int val) {
        this.val = val;
    }
    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
